export default ( http ) => ({
	index(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/index',
			params:query
		})
	},
	submitWithdrawApply(data = {}){
		return http.request({
			method: 'POST',
			url: '/fenxiao/withdraw_apply',
			data
		})
	},
	getMemberWithdraw(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/get_member_withdraw',
			params:query
		})
	},
	getBillList(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/bill_list',
			params:query
		})
	},
	getGoodsList(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/goods_list',
			params:query
		})
	},
	getGoodsFollowList(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/goods_follow_list',
			params:query
		})
	},
	changeGoodsFollow(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/goods_follow_change',
			params:query
		})
	},
	delGoodsFollow(data = {}){
		return http.request({
			method: 'POST',
			url: '/fenxiao/goods_follow_del',
			data
		})
	},
	getWithdrawList(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/withdraw_list',
			params:query
		})
	},
	getTeamList(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/team_list',
			params:query
		})
	},
	getOrderList (query = {}) {
		return http.request({
			method: 'GET',
			url: '/fenxiao/order_list',
			params:query
		})
	},
	getMyPromoteCode(query = {}){
		return http.request({
			method: 'GET',
			url: '/fenxiao/my_promote_code_img',
			params:query
		})
	},
})
